package com.gitee.giteego.springboot.mavendemo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @Author: zhangyy
 * @Email: zhang10092009@hotmail.com
 * @Date: 2020/12/22 16:07
 * @Version: v1.0
 * @Modified：
 * @Description:
 */
@RestController
@RequestMapping("/")
public class IndexController {

    private static int number;
    @GetMapping("/")
    public String index() {
        ++number;
        return "Hello Test Gitee Go SUCCESS!  " + number;
    }
}
